package com.example.demo.dto;

import lombok.Data;

@Data
public class ResultBean<T>
{
    public ResultBean(boolean isSuccess, int code)
    {
        this.isSuccess = isSuccess;
        this.code = code;
    }

    /// <summary>
    /// 请求是否成功
    /// </summary>
    private boolean isSuccess;

    /// <summary>
    /// 返回状态码
    /// </summary>
    private int code;

    /// <summary>
    /// 状态码的描述信息
    /// </summary>
    private String Message;

    /// <summary>
    /// 服务器返回时间
    /// </summary>
    private String RespTime;

    /// <summary>
    /// 具体业务数据
    /// </summary>
    private T Data;
}

